using System;
using System.Collections.Generic;
using Turquoise.Core.Abstract;

namespace Turquoise.Entities.Data
{

    
    public class Role : IEntity
    {
        public int Id { get; set; }
        public DateTime CreateDate { get; set; }
        public int CreatedBy { get; set; }
        public DateTime UpdateDate { get; set; }
        public int UpdatedBy { get; set; }

        public virtual IList<RoleLanguageLine> RoleLanguageLines { get; set; }
        public virtual IList<RoleUserGroupLine> RoleUserGroupLines { get; set; }
        public virtual IList<UserGroupRoleLine> UserGroupRoleLines { get; set; }

        public virtual User User_CreatedBy { get; set; }
        public virtual User User_UpdatedBy { get; set; }
        
        public Role()
        {
            RoleLanguageLines = new List<RoleLanguageLine>();
            RoleUserGroupLines = new List<RoleUserGroupLine>();
            UserGroupRoleLines = new List<UserGroupRoleLine>();
        }
    }

}

